<?php 
## include required files
/*******************************/
require_once '../model/users.php';
/*******************************/
## Create Objects
/*******************************/
$userObj = new Model_Users();
/*******************************/

if($_GET['id']!='') {
	$report_id=base64_decode($_GET['id']);	
	$reportArray=$userObj->getReportDetailsById($report_id);
	$smarty->assign('reportArray', $reportArray);	
}
if($_GET['jobid']!='')
{
	$jobID=base64_decode($_GET['jobid']);	
	$getjobdetil = $userObj->getJobDetailsById($jobID);
	$smarty->assign('getjobdetil', $getjobdetil);
}
$smarty->assign('page', $_GET['page']);
	
## Set active class variable for left menu
$smarty->assign('activeclass', 'reportabuse');
$smarty->assign('mainmenu', '3');

## Unset all the objects created which are on this page
unset($planobj);

$smarty->display(TEMPLATEDIR_ADMIN. 'reportabuse/reportabusedetails.tpl');
unset($smarty);
?>